package cn.kgc.vue.controller;

import cn.kgc.vue.commons.ResponseResult;
import cn.kgc.vue.service.ScoreService;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;

/**
 * @author 课工场
 * @date 2024/7/12
 * @description
 */
@RestController
@RequestMapping("visual")
@Api(tags = "可视化模块")
public class DataVisualController {


    @Resource
    private ScoreService scoreService;

    // 成绩信息数据可视化接口
    @GetMapping("/score")
    @ApiOperation("成绩可视化")
    public ResponseResult scoreVisual() {

        return scoreService.scoreVisual();
    }

}
